﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace Invent
{
    public partial class frmLoginForm : Form
    {
        public string strLogin;
        public string strPassword;

        public frmLoginForm()
        {
            InitializeComponent();
            strLogin = "";
            strPassword = "";
        }

        private void button1_Click(object sender, EventArgs e)
        {
            if (txtLogin.Text != "")
            {
                strLogin = txtLogin.Text;
                strPassword = txtPassword.Text;
                this.Close();
            }
        }

        private void button2_Click(object sender, EventArgs e)
        {
            this.Close();
        }
    }
}
